@extends('templates.generalstructure')
@section('css')
	@parent
	{{ HTML::style('assets/css/galeria2.css') }}
@stop
@section('contenido')

	<div id="wrapper-galeria">
				<!-- TOP -->
				
				
				<div class="galleria">
				@foreach($videos as $video)
    				<a href="{{ $video->url }}"><span class="video"></span></a>
   				@endforeach
   					
   					 
				</div>
				
			</div>
@stop


@section('js')
	@parent
	@if($videos->count())
	{{ HTML::script('assets/js/galleria/galleria-1.3.5.min.js') }}
	<script>
		Galleria.loadTheme('{{ URL::asset('assets/js/galleria/themes/classic/galleria.classic.min.js') }}');
		Galleria.run('.galleria');
	</script>
	@endif
@stop